import {take,fork,put} from 'redux-saga/effects';
function * watchTopNav(){
    while (true){
        let action =yield take("TOPNAV");
        yield put({ type: "topnav", data: {data:action.data}});
    }
}
let sagaTopNav = [fork(watchTopNav)];
export default sagaTopNav